package com.example.human_resource_management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.human_resource_management.entry.po.Admin;
import org.apache.ibatis.annotations.Select;

/**
* @author 30883
* @description 针对表【admin(管理员表)】的数据库操作Mapper
* @createDate 2025-06-09 15:29:11
* @Entity com.example.human_resource_management.entry.po.Admin
*/
public interface AdminMapper extends BaseMapper<Admin> {
    @Select("SELECT * FROM admin WHERE account = #{account} AND password = #{password}")
    Admin findAdminByAccountAndPassword(String account, String password);
}




